//
//  commentview.h
//  WuyouTang
//
//  Created by 王敏欣 on 2017/8/5.
//  Copyright © 2017年 cat. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YBCommentToolBar.h"

typedef void (^commectblock)(id type);
typedef void (^CommentGoCenterBlock)(BOOL isGo);
typedef void(^landCommentBlock)();
@interface commentview : UIView

@property(nonatomic,copy)commectblock hide;

@property(nonatomic,copy)commectblock talkCount;
@property(nonatomic,copy)landCommentBlock closeEvent;
@property(nonatomic,copy)commectblock pushDetail;
@property(nonatomic,copy)CommentGoCenterBlock goCenterEvent;

@property(nonatomic,copy)commectblock youkedenglu;
@property (nonatomic,strong) NSString *fromWhere;
@property(nonatomic,assign)BOOL isClickCloseBtn;
@property(nonatomic,strong)YBCommentToolBar *commentTool;

-(instancetype)initWithFrame:(CGRect)frame hide:(commectblock)hide andvideoid:(NSString *)videoid andhostid:(NSString *)hostids count:(int)allcomments talkCount:(commectblock)talk detail:(commectblock)detail youke:(commectblock)youkedenglu andFrom:(NSString *)from;
@property (nonatomic,copy) commectblock mutedBlock;

//-(void)reloaddata;
-(void)getNewCount:(int)count;
-(void)resetFream;


@end
